<template>
    <div>
      <!-- 顶部 -->
      <Card></Card>
      <!-- 中间 -->
      <Sale/>
      <!-- 底部 -->
      <Observe/>
    </div>
</template>

<script>
import Card from "./Card"
import Sale from './Sale'
import Observe from './Observe'
export default {
  name: 'Dashboard',
  components:{
    Card,
    Sale,
    Observe
  },
  mounted(){
    // 派发action
    this.$store.dispatch('home/getData')
  }

}
</script>

